package com.boot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName(value = "product")
public class Product {
    @TableId(type = IdType.AUTO)
     private Long id;
    private String name;
    private String description;
    private BigDecimal price;
    private int status;
    private Integer stock;
}
